# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
# Generator  : CPANPLUS::Dist::Arch 1.29

pkgname=perl-package-constants
pkgver=0.06
pkgrel=8
pkgdesc="List all constants declared in a package"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
url='https://search.mcpan.org/dist/Package-Constants'
source=("https://search.mcpan.org/CPAN/authors/id/B/BI/BINGOS/Package-Constants-$pkgver.tar.gz")
sha512sums=('a3f855435a989252551dfbd50492dcae5bdfb01efe14c2ef40679722305bb67097eb4c969023df1da00ee22d92f88e39439ebdeaae0b1f3a3fc6c561f3fa8481')
_distdir="Package-Constants-$pkgver"

build() {
  cd "$srcdir/$_distdir"
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd "$srcdir/$_distdir"
  make test
}

package() {
  cd "$srcdir/$_distdir"
  make install DESTDIR="$pkgdir"
}

# vim:set ts=2 sw=2 et:
